<template>
    <view class="bg-[#f8f8f8] min-h-screen">
        <view class="h-[10rpx]"></view>
        <view @click="navigateTo('/pages/classDetails/classDetails?type=1')" class=" relative bg-white py-[20rpx] text-center">
            <view class="bg-[#FFA812] absolute left-0 top-0 text-white rounded-br-xl text-[30rpx] px-2">学校</view>
            <view class="text-[34rpx]">
                <view>青秀区老年大学</view>
                <view class="mt-2">2024级秋季书法班</view>
            </view>
            <view class="text-[#FD755D] mr-[100rpx] absolute bottom-[20rpx] right-[-50rpx]">待处理>></view>
        </view>
        <view @click="navigateTo('/pages/classDetails/classDetails?type=2')" class=" relative bg-white py-[20rpx] text-center mt-[20rpx]">
            <view class="bg-[#FFA812] absolute left-0 top-0 text-white rounded-br-xl text-[30rpx] px-2">机构</view>
            <view class="text-[34rpx]">
                <view>青秀区老干部管理中心</view>
                <view class="mt-2">第九支部</view>
            </view>
            <view class="text-[#FD755D] mr-[100rpx] absolute bottom-[20rpx] right-[-50rpx]">待处理>></view>
        </view>
        <view class=" relative bg-white py-[20rpx] text-center mt-[20rpx]">
            <view class="bg-[#FFA812] absolute left-0 top-0 text-white rounded-br-xl text-[30rpx] px-2">自建</view>
            <view class="text-[34rpx]">
                <view>青春文艺团</view>
                <view class="mt-2"></view>
            </view>
            <view class="text-[#FD755D] mr-[100rpx] absolute bottom-[20rpx] right-[-50rpx]">待处理>></view>
        </view>
    </view>

</template>
<script setup>
const navigateTo = (url) => {
  uni.navigateTo({
    url
  })
}
</script>